package com.czxy.pojo.group;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Liuyunqin 17674029449@163.com
 * @date 2018/12/13 20:45
 * Vo类--返回信息
 */
@Data
@AllArgsConstructor //全参
@NoArgsConstructor  //无参
public class BaseResult {
    private Integer errno;
    private String errmsg;
    private Object data;

    public BaseResult(Integer errno, String errmsg) {
        this.errno = errno;
        this.errmsg = errmsg;
    }
}
